﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdsArea.ascx.cs" Inherits="ZF.WS.UserControls.Index.AdsArea" %>
<% if (!string.IsNullOrEmpty(Ads.Image))
   { %>
<div class="ads mt5_"  >
    <a href="<%=Ads.Url.EmptyString("/") %>" target="_blank">
        <img src="/photo/ads/<%=Ads.Image %>" style="<%=Ads.Style %>;<%=SiteInfo.Instance.IsLocal?"height:100px":"" %>"/></a>
</div>
<%} %>

<% if (!string.IsNullOrEmpty(Ads.JavaScript))
   { %>
<div class="ads mt5_" style="<%=Ads.Style %>">

    <script src="<%=Ads.JavaScript %>"></script>

</div>
<%} %> 